package com.app.designpatternslearn.behavior.visitorpattern.code

class SalesVisitor : Visitor {
    override fun visit(phoneShop: PhoneShop) {
        println("SalesVisitor --> phoneShop ---> number ---> ${phoneShop.number}")
    }

    override fun visit(computerShop: ComputerShop) {
        println("SalesVisitor --> computerShop ---> number ---> ${computerShop.number}")
    }
}